package cn.com.bluemoon.daps.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 * 通知确认信息
 * </p>
 *
 * @author admin
 * @since 2022-06-21
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "DapNoticeConfirmInfo", description = "通知确认信息")
public class DapNoticeConfirmInfo extends Model<DapNoticeConfirmInfo> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "通知的id")
    private Long noticeId;

    @ApiModelProperty(value = "操作用户")
    private String operateUserId;

    @ApiModelProperty(value = "确认状态 0-未确认 1-已经确认同意 2-无需确认 3-失效账号 4-已确认不同意")
    private Integer confirmStatus;

    @ApiModelProperty(value = "通知状态 0-失败 1-成功")
    private Integer sendStatus;

    @ApiModelProperty(value = "操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime operateTime;

}
